package com.ruoyi.standingbook.cleaning.mapper;

import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.standingbook.cleaning.domain.Cleaning;
import com.ruoyi.standingbook.cleaning.domain.bo.CleaningPicBo;
import com.ruoyi.standingbook.cleaning.domain.vo.CleaningVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 清扫保洁Mapper接口
 *
 * @author cc
 * @date 2023-04-26
 */
public interface CleaningMapper extends BaseMapperPlus<CleaningMapper, Cleaning, CleaningVo> {

    List<CleaningPicBo> selectPicByDate(@Param("date") String date,@Param("status") String status);

    Double selectSumByDate(@Param("date") String date,@Param("community") String community,
                           @Param("status") String status);
}
